package com.github.pig.admin.mapper;

import com.github.pig.admin.common.MyMapper;
import com.github.pig.admin.model.SysDept;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface SysDeptMapper extends MyMapper<SysDept> {

	List<Map<String,Object>> findMenu(Map<String, Object> map);
	
	Map<String,Object> queryUserOrg(Map<String, Object> map);

	List<Map<String, Object>> getChilds(String orgCd);
	
	List<String> getChildList(String orgCd);

}